<?php
class IncompatiblesCurrenciesException extends Exception {
   /**
   * Constructor
   **/
   public function __construct($Method="unknown") 
    { 
        parent::__construct($Method.": IncompatiblesCurrenciesException raised", 0); 
    } 
};

class InvalidCurrencyException extends Exception {
     /**
   * Constructor
   **/
   public function __construct($Method="unknown") 
    { 
        parent::__construct($Method.": InvalidCurrencyException raised", 1); 
    } 
};

class InvalidMoneyValueException extends Exception {
   /**
   * Constructor
   **/
   public function __construct($Method="unknown") 
    { 
        parent::__construct($Method.": InvalidMoneyValueException raised", 2); 
    } 
};

class InvalidTauxException extends Exception {
   /**
   * Constructor
   **/
   public function __construct($Method="unknown") 
    { 
        parent::__construct($Method.": InvalidTauxException raised", 2); 
    } 
};

class ExistingCurrencyException extends Exception {
   /**
   * Constructor
   **/
   public function __construct($Method="unknown") 
    { 
        parent::__construct($Method.": ExistingCurrencyException raised", 2); 
    } 
};

?>
